#ifndef CLOCK_H
#define CLOCK_H
#include <cstdint>
#pragma once

#include <units.h>
#include <bsp/clock.h>

namespace os {
void sleep(units::time::millisecond_t duration);

units::time::millisecond_t getTime();

units::time::millisecond_t getOsTime();

units::time::microsecond_t getDWTTime_u32();

uint64_t getDWTTime_i64();
} // namespace os

#endif  // CLOCK_H